/*
 * IcmpErrorSessionManager.h
 *
 *  Created on: 28/08/2011
 *      Author: george
 */

#ifndef ICMPERRORSESSIONMANAGER_H_
#define ICMPERRORSESSIONMANAGER_H_

#include <vector>
#include "icmperrorsession.h"

class IcmpErrorSessionManager {
public:
	//	Um vetor de sessoes icmp
	std::vector<IcmpErrorSession*> session;

	IcmpErrorSessionManager();
	virtual ~IcmpErrorSessionManager();

	bool add(struct in_addr* src, struct in_addr *dst,  icmp_hdr_t *p);
	IcmpErrorSession* getSession(struct in_addr *src,struct in_addr *dst);
};

#endif /* ICMPERRORSESSIONMANAGER_H_ */
